-
Notifications
You must be signed in to change notification settings - Fork 146
feat: add config-based named_resources support (#1085) #1086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
For your consideration @kiukchung , @d4l3k , @tonykao8080 , @andywag |
|
Could you please have a look, @kiukchung? |
|
Could you please have a look, @kiukchung , @d4l3k , @tonykao8080 , @andywag? |
|
Sorry for bugging, but could you please let me know what you think about this proposal, @kiukchung , @d4l3k , @tonykao8080 , @andywag ? |
|
@clumsy are you on the PyTorch Slack? Better to ping there, we get a lot of GitHub notifications |
d4l3k
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, looks like it needs to be rebased
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1086 +/- ##
==========================================
+ Coverage 91.60% 91.63% +0.03%
==========================================
Files 83 83
Lines 6431 6432 +1
==========================================
+ Hits 5891 5894 +3
+ Misses 540 538 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Seem to be OK still, right @d4l3k ? |
9a04d96 to
60f2bc2
Compare
|
Please check the latest changes, @kiukchung |
|
@kiukchung has imported this pull request. If you are a Meta employee, you can view this in D83964038. |
Fixes #1085
Test plan:
[x] Unit tests added
[x] Tested locally, e.g.:
Running
torchx run -s local_cwd utils.sh calGives:
torchx 2025-06-29 22:29:34 INFO loaded configs from /private/tmp/dynamic_device/.torchxconfig torchx 2025-06-29 22:29:35 INFO Tracker configurations: {} torchx 2025-06-29 22:29:35 INFO Log directory not set in scheduler cfg. Creating a temporary log dir that will be deleted on exit. To preserve log directory set the `log_dir` cfg option torchx 2025-06-29 22:29:35 INFO Log directory is: /var/folders/8b/nbn0wcb93m710myrqx8r_clh0000gq/T/torchx_ue1_qcab local_cwd://torchx/sh-mjpvn04c5kmnfc torchx 2025-06-29 22:29:35 INFO Waiting for the app to finish... sh/0 June 2025 sh/0 Su Mo Tu We Th Fr Sa sh/0 1 2 3 4 5 6 7 sh/0 8 9 10 11 12 13 14 sh/0 15 16 17 18 19 20 21 sh/0 22 23 24 25 26 27 28 sh/0 29 30 sh/0 torchx 2025-06-29 22:29:36 INFO Job finished: SUCCEEDED